cmake_minimum_required(VERSION 3.5.1)

add_library( creep_decider   creep_decider.cc)
target_link_libraries( creep_decider 
planning::planning_context
planning::reference_line_info

planning::common_lib
common
planning_common_module
planning::common_lib
planning::util_lib

scenario_util_lib
decider_base
)


add_executable(creep_decider_test  creep_decider_test.cc)
target_link_libraries(creep_decider_test
creep_decider
gtest
gtest_main
)

install(TARGETS creep_decider
        EXPORT  apollo-export
        LIBRARY DESTINATION lib
        ARCHIVE DESTINATION lib
        RUNTIME DESTINATION bin
        INCLUDES DESTINATION .
        )



install(TARGETS creep_decider_test               
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
RUNTIME DESTINATION bin
INCLUDES DESTINATION .
)